﻿/*
 * Created by SharpDevelop.
 * User: xieen
 * Date: 2013-08-26
 * Time: 11:04
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace GoF23Learning._18.Memento_Pattern.Refactor
{
	/// <summary>
	/// Description of RectangleMemento.
	/// </summary>
	[Serializable]
	public  class RectangleMemento
	{
		internal int x;
		internal int y;
		internal int width;
		internal int height;
		
		internal void SetState(int x,int y,int width,int height)
		{
			this.x = x;
			this.y = y;
			this.width = width;
			this.height = height;	
		}

		
	}
}
